package xml_get.vos;

import java.util.Calendar;

import android.R.raw;
import xml_get.enums.MessageType;

public class Message {
	private String userID;
	private String friendID;
	private String friendNickname;
	private String content;
	private MessageType messageType;
	private Calendar time;
	
	public Message(String userID, String friendID, String friendName, String content, MessageType messageType,Calendar time){
		this.userID = userID;
		this.friendID = friendID;
		this.friendNickname = friendName;
		this.content  = content;
		this.messageType = messageType;
		this.time = time;
	}
	
	public void setUserID(String userID){
		this.userID = userID;
	}
	
	public String getUserID(){
		return userID;
	}
	
	public void setFriendID(String friendID){
		this.friendID = friendID;
	}
	
	public String getFriendID(){
		return friendID;
	}
	
	public void setFriendNickname(String name){
		friendNickname = name;
	}
	
	public String getFriendNickname(){
		return friendNickname;
	}
	
	public void setContent(String content){
		this.content = content;
	}
	
	public String getContent(){
		return content;
	}
	
	public void setMessageType(MessageType messageType){
		this.messageType = messageType;
	}
	
	public String getMessageType(){
		return messageType.toString();
	}
	
	public void setTime(Calendar time){
		this.time = time;
	}
	
	public String getTime(){
		return time.toString();
	}
}
